<template>
	<view class="index">
		<view class="title">
			可参与活动>>
		</view>
		<view class="content">
			<image src="../../../static/image/2.png" mode="widthFix" @click="jumpInfo(2)"></image>
			<image src="../../../static/image/3.png" mode="widthFix" @click="jumpInfo(3)"></image>
			<image src="../../../static/image/4.png" mode="widthFix" @click="jumpInfo(4)"></image>	
			<image src="../../../static/image/5.png" mode="widthFix" @click="jumpInfo(5)"></image>	
			<image src="../../../static/image/7.png" mode="widthFix" @click="jumpInfo(7)"></image>	
			<image src="../../../static/image/9.png" mode="widthFix" @click="jumpInfo(9)"></image>	
		</view>
		
		
	</view>
	
</template>
<script>
	
</script>
<script setup>
	const {
		mourn,
		theme
	} = useStore()
	const {
		Theme,
		onShow
	} = useTheme()
	const {
		proxy
	} = getCurrentInstance()
	onLoad(options => {
	
		if (!proxy.sjuBase.isNull(options.openid)) {
			proxy.sjuLogin.saveValue("xndzOpenid", options.openid);
		}
		if (proxy.sjuBase.isNull(proxy.sjuLogin.getValue('xndz_mobileShip'))) {
			proxy.sjuNav.navigateTo('/intake/login')
		}
		console.log(proxy.sjuLogin.getValue("xndzOpenid"))
		
	})
	
const extensionFun=()=>{
	// proxy.sjuNav.navigateTo('/my/extensionShip')
}
const couponFun=()=>{
	proxy.sjuNav.navigateTo('/my/couponModuleShip')
}
const WriteOffFun=()=>{
	proxy.sjuNav.navigateTo('/my/modelInfoShip')
}
const jumpInfo=(index)=>{
	proxy.sjuNav.navigateTo('/my/activeInfo?key='+index)
}

	
</script>

<style lang="scss">
	.index{
		width: 100%;
		// height: 100%;
		margin: 0;
		padding:20px 15px;
		box-sizing: border-box;
		image{
			width: 100%;
		}
		.content{
			width:100%;
			// margin:0 5%;
			image{
				margin-top:20px;
			}
		}
	}

</style>